package com.class05.pojo;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class Schedule {

    private Integer id;
    /**
     * 学习内容
     */
    @NotBlank
    private String title;
    /**
     * 学习进度
     */
    @NotNull
    private Boolean completed;
}